{% extends "base.html" %}
{% block title %}修改工作令号{% endblock %}
{% block navbar %}{{ super() }}{% endblock %}
{% block styles %}{{ super() }}
<style>
    .main-div {
        background: #ffffff none repeat scroll 0 0;
        border-radius: 2px;
        margin: 10px auto 30px;
        max-width: 80%;
        padding: 20px 20px 20px 20px;
    }

    body {
        padding-top: 100px;
    }
</style>
{% endblock %}
{% block content %}
<div class="container">
    <div class="row">
        <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1"></div>
        <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
            {% include 'flash_message.html' %}
            <form action="{{ url_for('bp_admin.admin_jobnumber_edit', jobnumberid=jobnumber[0] ) }}" method="POST">
                <div class="form-group">
                    <label for="name">工作令号</label>
                    <input type="text" name="name" class="form-control" value="{{ jobnumber[1] }}">
                </div>
                <div class="form-group">
                    <label for="desc">项目名称</label>
                    <input type="text" name="desc" class="form-control" value="{{ jobnumber[2] }}">
                </div>
                <button type="submit" class="btn btn-primary">Submit</button>
            </form>
        </div>
        <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1"></div>
    </div>
</div>
{% endblock %}